logging:
  level:
    root: warn
    '[org.jmresler.sakila.movies]': debug
  file:
    name: logs/${spring.application.name}.log

spring:
  application:
    name: sakila-movies-web
  datasource:
    driver-class-name: org.h2.Driver
    username: root
    password: 'Criminal-29@'
    url: jdbc:h2:file:./data/sakila;INIT=RUNSCRIPT FROM 'src/main/resources/init-h2-script.sql'
  jpa:
    generate-ddl: true
    hibernate:
      naming:
        implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
        physical-strategy: org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
    properties:
      hibernate:
        format_sql: true
        show_sql: true
        use_sql_comments: true